package de.fhd.pms;


import java.io.*;

import javax.servlet.*;
import javax.servlet.http.*;

public class ServPmsAbout extends HttpServlet {
  private String greeting;
  private String pic_schema;
  
  public void init()
    throws ServletException
  {
    greeting = getInitParameter("greeting");
    pic_schema = getInitParameter("pic_schema");
  }

  @Override
  public void doGet( HttpServletRequest request, HttpServletResponse response )
  throws ServletException, IOException
  {
     response.setContentType( "text/html" );
     PrintWriter out = response.getWriter();
     out.println( "<html>" );
     out.println("<title>" + greeting + "</title>");
     out.println("<h1>" + greeting + "</h1>");
     out.println( "<h3> Projektbeschreibung: .... </h3>" );
     out.println( "<img src="+ pic_schema +" height='235' width='300' alt='architecture blocks'/>" );
     //out.println( "<a href='visitors'>zur&uuml;ck</a> " );
     out.println( "</html>" );
     out.close();
  }
  
  public void destroy()
  {
    // nothing to do
  }
}
